home *** CD-ROM | disk | FTP | other *** search
/ Eyes to the Stars / Eyes to the Stars.iso / dos_apps / electrim / install.dat < prev    next >
Text File  |  1993-10-11  |  15KB  |  538 lines

  1. @DefineProject
  2.     @Name = "EDCDEMO"
  3.     @Version = "1.0"
  4.         @Subdir = "\\EDCDEMO"
  5.         @OutDrive = C
  6.         @AssumeHardDisk = 1
  7.         @Group = "abcd"
  8. @EndProject
  9.  
  10. @Display
  11.         @ChDrive (@StartupDrive)
  12.         @ChDir ("@StartupDir")
  13.     @Cls
  14.         Installation of ELECTRIM Digital Camera Sample Images:
  15.         This demonstration software should be installed to a hard
  16.         drive and requires approximately 4.25 MB (megabytes) of
  17.         disc space.  You may press the ESC key at any time to abort
  18.         the installation.
  19.  
  20.         A directory is created containing sample TIFF files from
  21.         the EDC-1000, EDC-1000TE, EDC-1000HR, and EDC-1000C computer
  22.         cameras.  TIFF file viewers, HVIEW for EDC-1000HR gray scale
  23.         TIFF files and CVIEW for EDC-1000C 24-bit color TIFF files
  24.         are provided; as well as the VGADEMO program for viewing and
  25.         processing EDC-1000 and EDC-1000TE TIFF files, and HFALSE, a
  26.         false color viewer for monochrome TIFF files.
  27.  
  28.         The supplied file viewers are not general purpose TIFF file
  29.         viewers, but are designed to work with TIFF files created
  30.         by ELECTRIM Digital Camera software.
  31.  
  32.         @Pause
  33. @EndDisplay
  34.  
  35.  
  36. @movecstr(2,46,126,"╔══════════════════════╗")
  37. @movecstr(3,46,126,"║                      ║")
  38. @movecstr(4,46,126,"║                      ║")
  39. @movecstr(5,46,126,"╚══════════════════════╝")
  40. @movecstr(3,47,244,"   Checking System    ")
  41. @movecstr(4,47,244,"   Please Wait ...    ")
  42. @movecstr(6,48,0,"                        ")
  43. @movecstr(3,70,0,"  ")
  44. @movecstr(4,70,0,"  ")
  45. @movecstr(5,70,0,"  ")
  46.  
  47.  
  48. @If (((@OSMajor * 100) + @OSMinor) < 330)
  49.   @GetOption
  50.         @ClearGroup(a)
  51.         @ClearGroup(b)
  52.         @ClearGroup(c)
  53.         @ClearGroup(d)
  54.         @ChDrive (@StartupDrive)
  55.         @ChDir ("@StartupDir")
  56.         @LocalWindow(15,40)
  57.         @Cls
  58.  
  59.         DOS version @OSMajor.@OSMinor is detected on this system.
  60.         Viewing programs provided require DOS version 3.3 or better.
  61.  
  62.         @MoveCStr (5,8,30,"The CVIEW, HVIEW, VGADEMO, and HFALSE programs will not be")
  63.         @MoveCStr (5,8,30,"installed.")
  64.  
  65.         The sample image files may be of interest even though the
  66.         system does not support the supplied file viewers.
  67.  
  68.         What would you like to do at this time?
  69.  
  70.  
  71. @Option 1 = "Abort the installation"
  72. @Option 2 = "Continue with the installation"
  73.   @EndOption    
  74. @If (1 [= @Option)
  75.         @ExitMessage ("\n\n\rInstallation of @Name aborted by user.\n\n\r")
  76. @EndIf
  77.  
  78.  
  79. @ElseIf (@VideoCard != 'V')
  80.   @GetOption
  81.         @ClearGroup(a)
  82.         @ClearGroup(b)
  83.         @ClearGroup(c)
  84.         @ClearGroup(d)
  85.         @ChDrive (@StartupDrive)
  86.         @ChDir ("@StartupDir")
  87.         @LocalWindow(15,40)
  88.         @Cls
  89.  
  90.         A VGA video card is not detected on this system.  The file
  91.         viewing programs provided will not run on this system.
  92.  
  93.         @MoveCStr (5,8,30,"The CVIEW, HVIEW, VGADEMO, and HFALSE programs will not be")
  94.         @MoveCStr (5,8,30,"installed.")
  95.  
  96.         The sample image files may be of interest even though the
  97.         system does not support the supplied file viewers.
  98.  
  99.         What would you like to do at this time?
  100.  
  101.  
  102. @Option 1 = "Abort the installation"
  103. @Option 2 = "Continue with the installation"
  104.   @EndOption    
  105. @If (1 [= @Option)
  106.         @ExitMessage ("\n\n\rInstallation of @Name aborted by user.\n\n\r")
  107. @EndIf
  108.  
  109.  
  110. @ElseIf (@VESAMajor == 0)
  111.   @GetOption
  112.         @ClearGroup(a)
  113.         @ClearGroup(b)
  114.         @ClearGroup(d)
  115.         @ChDrive (@StartupDrive)
  116.         @ChDir ("@StartupDir")
  117.         @LocalWindow(17,40)
  118.         @Cls
  119.  
  120.         The HVIEW and CVIEW file viewer programs and HFALSE require
  121.         VESA (Video Electronics Standards Association) Super VGA BIOS
  122.         extensions.  @MoveCStr (,,30,"VESA Super VGA BIOS extensions were not found.")
  123.  
  124.         @MoveCStr (,,30,"The HVIEW, CVIEW, and HFALSE programs will not be installed.")
  125.  
  126.         The VGADEMO program should be able to run, however.
  127.  
  128.         The sample image files may be of interest even though the
  129.         system does not support the HVIEW and CVIEW viewer programs.
  130.  
  131.         What would you like to do at this time?
  132.  
  133.  
  134. @Option 1 = "Abort the installation"
  135. @Option 2 = "Continue with the installation"
  136.   @EndOption    
  137. @If (1 [= @Option)
  138.         @ExitMessage ("\n\n\rInstallation of @Name aborted by user.\n\n\r")
  139. @EndIf
  140.  
  141.  
  142. @ElseIf ((@VESAMode (259) == 0) && (@VESAMode (276) == 0))
  143.   @GetOption
  144.         @ClearGroup(a)
  145.         @ClearGroup(b)
  146.         @ChDrive (@StartupDrive)
  147.         @ChDir ("@StartupDir")
  148.         @LocalWindow(20,40)
  149.         @Cls
  150.  
  151.         The VESA (Video Electronics Standards Association) Super
  152.         VGA BIOS reports that neither the 800 x 600 by 256 color
  153.         nor the 800 x 600 by 64k color graphics mode is available.
  154.  
  155.         @MoveCStr (,,30,"The HVIEW and CVIEW programs will not be installed.")
  156.         The VGADEMO and HFALSE programs should be able to run.
  157.  
  158.         If you believe your system does support these graphic modes,
  159.         abort installation, RESET your computer (or power on/off),
  160.         and retry the installation.
  161.  
  162.         The sample image files may be of interest even though the
  163.         system does not support the HVIEW and CVIEW viewer programs.
  164.  
  165.         What would you like to do at this time?
  166.  
  167.  
  168. @Option 1 = "Abort the installation"
  169. @Option 2 = "Continue with the installation"
  170.   @EndOption    
  171. @If (1 [= @Option)
  172.         @ExitMessage ("\n\n\rInstallation of @Name aborted by user.\n\n\r")
  173. @EndIf
  174.  
  175.  
  176. @ElseIf (@VESAMode (259) == 0)
  177.   @GetOption
  178.         @ClearGroup(b)
  179.         @ChDrive (@StartupDrive)
  180.         @ChDir ("@StartupDir")
  181.         @LocalWindow(18,40)
  182.         @Cls
  183.  
  184.         The VESA (Video Electronics Standards Association) Super
  185.         VGA BIOS reports that the 800 x 600 by 256 color graphics
  186.         mode is not available on this system.
  187.  
  188.         @MoveCStr (,,30,"The HVIEW program will not be installed.")
  189.  
  190.         The CVIEW, VGADEMO, and HFALSE programs should run.
  191.  
  192.         The sample image files may be of interest even though the
  193.         system does not support the HVIEW viewer program.
  194.  
  195.         What would you like to do at this time?
  196.  
  197.  
  198. @Option 1 = "Abort the installation"
  199. @Option 2 = "Continue with the installation"
  200.   @EndOption    
  201. @If (1 [= @Option)
  202.         @ExitMessage ("\n\n\rInstallation of @Name aborted by user.\n\n\r")
  203. @EndIf
  204.  
  205.  
  206. @ElseIf (@VESAMode (276) == 0)
  207.   @GetOption
  208.         @ClearGroup(a)
  209.         @ChDrive (@StartupDrive)
  210.         @ChDir ("@StartupDir")
  211.         @LocalWindow(18,40)
  212.         @Cls
  213.  
  214.         The VESA (Video Electronics Standards Association) Super
  215.         VGA BIOS reports that the 800 x 600 by 16k color graphics
  216.         mode is not available on this system.
  217.  
  218.         @MoveCStr (,,30,"The CVIEW program will not be installed.")
  219.  
  220.         The HVIEW, VGADEMO, and HFALSE programs should run.
  221.  
  222.         The sample image files may be of interest even though the
  223.         system does not support the CVIEW viewer program.
  224.  
  225.         What would you like to do at this time?
  226.  
  227.  
  228. @Option 1 = "Abort the installation"
  229. @Option 2 = "Continue with the installation"
  230.   @EndOption    
  231. @If (1 [= @Option)
  232.         @ExitMessage ("\n\n\rInstallation of @Name aborted by user.\n\n\r")
  233. @EndIf
  234. @EndIf
  235.  
  236.  
  237. @If (('a'[=@Group)&&('b'[=@Group)&&('c'[=@Group)&&('d'[=@Group))
  238.     @Goto LIST_DRIVES
  239. @EndIf
  240.  
  241. @If (!('b'[=@Group))
  242. @Display
  243. @Cls
  244. @EndDisplay
  245. @movecstr(4,3,95,"╔═════════════════════════════════════════════════════════════╗")
  246. @movecstr(5,3,95,"║ The HVIEW file viewer program will not be installed.        ║")
  247. @movecstr(6,3,95,"║ This system's hardware/software does not support CVIEW.     ║")
  248. @movecstr(7,3,95,"║                                                             ║")
  249. @movecstr(8,3,95,"║ EDC-1000HR sample images will be installed, but not viewed. ║")
  250. @movecstr(9,3,95,"║ The EDC-1000HR sample images may still be of interest.      ║")
  251. @movecstr(10,3,95,"║                                                             ║")
  252. @movecstr(11,3,95,"║ Are you sure you really want to continue this installation? ║")
  253. @movecstr(12,3,95,"╚═════════════════════════════════════════════════════════════╝")
  254. @movecstr(13,5,0,"                                                               ")
  255. @movecstr(5,66,0,"  ")
  256. @movecstr(6,66,0,"  ")
  257. @movecstr(7,66,0,"  ")
  258. @movecstr(8,66,0,"  ")
  259. @movecstr(9,66,0,"  ")
  260. @movecstr(10,66,0,"  ")
  261. @movecstr(11,66,0,"  ")
  262. @movecstr(12,66,0,"  ")
  263. @Display
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281. @Pause
  282. @EndDisplay
  283. @EndIf
  284.  
  285.  
  286. @If (!('a'[=@Group))
  287.  
  288. @Display
  289. @Cls
  290. @EndDisplay
  291. @movecstr(4,3,95,"╔═════════════════════════════════════════════════════════════╗")
  292. @movecstr(5,3,95,"║ The CVIEW file viewer program will not be installed.        ║")
  293. @movecstr(6,3,95,"║ This system's hardware/software does not support CVIEW.     ║")
  294. @movecstr(7,3,95,"║                                                             ║")
  295. @movecstr(8,3,95,"║ EDC-1000C sample images will be installed, but not viewed.  ║")
  296. @movecstr(9,3,95,"║ The EDC-1000C sample images may still be of interest.       ║")
  297. @movecstr(10,3,95,"║                                                             ║")
  298. @movecstr(11,3,95,"║ Are you sure you really want to continue this installation? ║")
  299. @movecstr(12,3,95,"╚═════════════════════════════════════════════════════════════╝")
  300. @movecstr(13,5,0,"                                                               ")
  301. @movecstr(5,66,0,"  ")
  302. @movecstr(6,66,0,"  ")
  303. @movecstr(7,66,0,"  ")
  304. @movecstr(8,66,0,"  ")
  305. @movecstr(9,66,0,"  ")
  306. @movecstr(10,66,0,"  ")
  307. @movecstr(11,66,0,"  ")
  308. @movecstr(12,66,0,"  ")
  309. @Display
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327. @Pause
  328. @EndDisplay
  329. @EndIf
  330.  
  331.  
  332. @If (!('d'[=@Group))
  333.  
  334. @Display
  335. @Cls
  336. @EndDisplay
  337. @movecstr(4,3,95,"╔═════════════════════════════════════════════════════════════╗")
  338. @movecstr(5,3,95,"║ The HFALSE file viewer program will not be installed.       ║")
  339. @movecstr(6,3,95,"║ This system's hardware/software does not support HFALSE.    ║")
  340. @movecstr(7,3,95,"║ (See the README.DOC file for a description of HFALSE.)      ║")
  341. @movecstr(8,3,95,"║                                                             ║")
  342. @movecstr(9,3,95,"║ EDC-1000HR sample images will still be installed.           ║")
  343. @movecstr(10,3,95,"║                                                             ║")
  344. @movecstr(11,3,95,"║ Are you sure you really want to continue this installation? ║")
  345. @movecstr(12,3,95,"╚═════════════════════════════════════════════════════════════╝")
  346. @movecstr(13,5,0,"                                                               ")
  347. @movecstr(5,66,0,"  ")
  348. @movecstr(6,66,0,"  ")
  349. @movecstr(7,66,0,"  ")
  350. @movecstr(8,66,0,"  ")
  351. @movecstr(9,66,0,"  ")
  352. @movecstr(10,66,0,"  ")
  353. @movecstr(11,66,0,"  ")
  354. @movecstr(12,66,0,"  ")
  355. @Display
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373. @Pause
  374. @EndDisplay
  375. @EndIf
  376.  
  377.  
  378. @If (!('c'[=@Group))
  379.  
  380. @Display
  381. @Cls
  382. @EndDisplay
  383. @movecstr(4,3,95,"╔═════════════════════════════════════════════════════════════╗")
  384. @movecstr(5,3,95,"║ The VGADEMO program will not be installed.                  ║")
  385. @movecstr(6,3,95,"║ This system's hardware/software does not support VGADEMO.   ║")
  386. @movecstr(7,3,95,"║ (See the README.DOC file for a description of VGADEMO.)     ║")
  387. @movecstr(8,3,95,"║                                                             ║")
  388. @movecstr(9,3,95,"║ EDC-1000/EDC-1000TE sample images will still be installed.  ║")
  389. @movecstr(10,3,95,"║                                                             ║")
  390. @movecstr(11,3,95,"║ Are you sure you really want to continue this installation? ║")
  391. @movecstr(12,3,95,"╚═════════════════════════════════════════════════════════════╝")
  392. @movecstr(13,5,0,"                                                               ")
  393. @movecstr(5,66,0,"  ")
  394. @movecstr(6,66,0,"  ")
  395. @movecstr(7,66,0,"  ")
  396. @movecstr(8,66,0,"  ")
  397. @movecstr(9,66,0,"  ")
  398. @movecstr(10,66,0,"  ")
  399. @movecstr(11,66,0,"  ")
  400. @movecstr(12,66,0,"  ")
  401. @Display
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419. @Pause
  420. @EndDisplay
  421. @EndIf
  422.  
  423.  
  424.  
  425. LIST_DRIVES: // This label is an "@GOTO" destination
  426. @ClearOption(1) 
  427.  
  428. @GetOutDrive
  429.         @Suppress A
  430.         @Suppress B
  431.         @ChDrive (@StartupDrive)
  432.         @ChDir ("@StartupDir")
  433.     @Cls
  434.  
  435.         On which disk drive do you wish to install @Name?
  436.  
  437.     @LocalWindow(7,40)
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.         Use the UpArrow, DownArrow, PageUp, & PageDn keys to move
  449.         the bar to your selection and then press the ENTER key.
  450.  
  451. @EndOutDrive
  452.  
  453.  
  454. @If (@DiskFree (@OutDrive) < 4456448)
  455.   @GetOption
  456.         @ChDrive (@StartupDrive)
  457.         @ChDir ("@StartupDir")
  458.         @LocalWindow(12,40)
  459.         @Name needs at least 4.25 MB (megabytes) of free disk space
  460.         to install.  @MoveCStr (,,30,"You have only @DiskFree (@Outdrive) bytes available on drive @outdrive.")
  461.  
  462.         What would you like to do at this time?
  463.  
  464.  
  465. @Option 1 = "Choose another drive"
  466. @Option 2 = "Abort the installation"
  467.   @EndOption    
  468. @If (1 [= @Option)
  469.     @SetOption(99)
  470.     @Goto LIST_DRIVES
  471. @Elseif (2 [= @Option)
  472.         @ExitMessage ("\n\n\rInstallation of @Name aborted by user.\n\n\r")
  473.   @EndIf
  474. @EndIf
  475.  
  476.  
  477. @GetSubdir
  478.         @ChDrive (@StartupDrive)
  479.         @ChDir ("@StartupDir")
  480.         @Cls
  481.  
  482.         Specify the destination directory on drive @OutDrive where the
  483.         ELECTRIM Digital Camera Sample Images will be installed.
  484.         If the directory does not exist, it will be created.
  485.  
  486.         To accept the default directory @Subdir press ENTER.
  487.         To specify a different directory, backspace over @Subdir
  488.         and type a new directory name.  Then press ENTER.
  489.  
  490.         @Prompt = "Directory?"
  491. @EndSubdir
  492.  
  493.  
  494. @DefineDisk
  495.     @Label = "EDCDEMO Installation Disc"
  496.     @BeginLib EDCDEMO.001
  497.                 @File CVIEW.EXE @Group a @Size 290828
  498.         @File FRUIT.TIF @Size 1101120
  499.                 @File HFALSE.EXE @Group d @Size 28684
  500.                 @File HVIEW.EXE @Group b @Size 29466
  501.         @File JUPITER.TIF @Size 31830
  502.         @File JUPMOONS.TIF @Size 185370
  503.         @File M106.TIF @Size 31830
  504.         @File M27.TIF @Size 31830
  505.         @File M42.TIF @Size 31830
  506.         @File M57.TIF @Size 31830
  507.         @File M64.TIF @Size 31830
  508.         @File M65.TIF @Size 31830
  509.         @File MARS15.TIF @Size 31830
  510.         @File MOON9.TIF @Size 31830
  511.         @File NGC2903.TIF @Size 31830
  512.         @File NGC4565.TIF @Size 31830
  513.         @File NGC4631.TIF @Size 31830
  514.         @File VENUS.TIF @Size 31830
  515.                 @File VGADEMO.EXE @Group c @Size 57542
  516.         @File HR1.TIF @Size 369102
  517.         @File SCISSORS.TIF @Size 63510
  518.         @File HR2.TIF @Size 369102
  519.         @File CHILD.TIF @Size 31830
  520.         @File RULER.TIF @Size 31830
  521.         @File TREE.TIF @Size 551388
  522.         @File MOON.TIF @Size 551388
  523.         @File BATINPUT.COM @Size 170
  524.         @File RUNEDC.BAT @Size 5556
  525.     @EndLib
  526. @EndDisk
  527.  
  528.  
  529. @Finish
  530.         @ChDrive (@OutDrive)
  531.         @ChDir ("@SubDir")
  532.     @Cls
  533.  
  534.         Copying README.DOC file to @OutDrive@!:\@Subdir ...
  535.         @Copy ("@InDrive:\\readme.doc", "@OutDrive:\\@SubDir")
  536.         @ExitMessage ("\n\n\rInstallation of @Name is now finished.\n\rPlease see the README.DOC file for additional information.\n\n\rAt the DOS prompt enter RUNEDC to display images.\n\n\r")
  537. @EndFinish
  538.